//////////////////////////////////////////////////////////////////////////////////
//	File Name:	Powerup.h
//	Author	 :	Yuri Oyoko
//	Purpose	 :	Contains the powerup class which defines the game's powerups such
//				as ammo and health
//////////////////////////////////////////////////////////////////////////////////
#pragma once
#include "BaseObject.h"

class Powerup : public BaseObject
{
private:
	int PowerupType;
	int Value;
public:
	Powerup();
	~Powerup();

	//Accessors
	int GetPowerupType(){return PowerupType;}
	int GetValue(){return Value;}
	//Modifiers
	void SetPowerupType(int Value){PowerupType = Value;}
	void SetValue(int Amount){Value = Amount;}

	//Base object functions
	void Update(float ElapsedTime);
	void Render(void);
	RECT GetCollisionRect();
	bool CheckCollision(BaseObject* theObject);
};